package com.fdb.smcts.core.vo;

import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

/**
 * 
 * flowInVo
 * 
 * @author Cytus_
 * @since 2018年5月22日 上午8:47:05
 * @version 1.0
 *
 */
public class FlowInVO {

	private Map<String, Object> maps;
	
	public Map<String, Object> getFlowInVO() {
		return this.maps;
	}
	
	public void putAll(Map<String, Object> flowInVO) {
		if (Objects.isNull(maps)) {
			this.maps = new HashMap<String, Object>();
		}
		this.maps.putAll(flowInVO);
	}
	
	public void add(String key, Object value) {
		if (Objects.isNull(maps)) {
			this.maps = new HashMap<String, Object>();
		}
		this.maps.put(key, value);
	}
	
	public Object get(String key) {
		if (Objects.isNull(maps)) {
			this.maps = new HashMap<String, Object>();
		}
		return this.maps.get(key);
	}
	
	public void setFlowInVO(Map<String, Object> flowInVO) {
		this.maps = flowInVO;
	}
}
